﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityModel
{
    /// <summary>
    /// 缴费
    /// </summary>
    public class EGS_Payfees
    {
        public EGS_Payfees()
        {
            this.ID = Guid.NewGuid();
        }
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ID { get; set; }
        [Required]
        public string? Name { get; set; }
        /// <summary>
        /// 班级
        /// </summary>
        [Required]
        public string? Class { get; set; }
        /// <summary>
        /// 学号
        /// </summary>
        [Required]
        public int StudentId  { get; set; }
        /// <summary>
        /// 费用
        /// </summary>
        [Required]
        public double Cost { get; set; }

    }
}
